module.exports = app => {
    const { STRING, INTEGER } = app.Sequelize;
  
    const ArticleClassify = app.model.define('article-classify', {
      key: {
        type: INTEGER,
        primaryKey: true,
        autoIncrement: true,
      },
      value: {
        type: STRING(255),
        allowNull: false,
      },
      isDeleted: {
        type: INTEGER,
        defaultValue: 0
      },
    }, {
        timestamps: true,
        underscored: false,
    });
  
    return ArticleClassify;
  };
  